<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>我是首页</title>
</head>
<body>
<h1>首页</h1><br/>
<br/>
<h2>测试Rest风格</h2>
<form action="http://localhost:8080/restPut" method="post">
    <input type="hidden" name="_method" value="put">
    <input type="submit" value="put请求">
</form>
<form action="http://localhost:8080/restDelete" method="post">
    <input type="hidden" name="_method" value="delete">
    <input type="submit" value="delete请求">
</form>
<form action="http://localhost:8080/restGet" method="get">
    <input type="submit" value="get请求">
</form>
<form action="http://localhost:8080/restPost" method="post">
    <input type="submit" value="post请求">
</form><br/>
--------------------测试参数接收--------------------------------------------------------
<br/>
<a href="http://localhost:8080/testRest/12/黄色" >测试Rest风格获取参数(@PathVariable)</a><br/>
<a href="http://localhost:8080/testNote?name='张三'" >@RequestParam</a><br/>
<a href="http://localhost:8080/testDiy?name='张三'" >自定义对象</a><br/>
<a href="http://localhost:8080/testComplex?name='1,2,3'" >复杂对象</a><br/>
<a href="http://localhost:8080/testMap?name=1,2,3" >map</a><br/>
<a href="http://localhost:8080/testMatrixVariable1/parems;name=张三;age=12,13" >测试矩阵变量方式一（@MatrixVariable）</a><br/>
<a href="http://localhost:8080/testMatrixVariable2/1;name=张三;age=12/2;name=李四;age=13" >测试矩阵变量方式二（@MatrixVariable）</a><br/>

<br/>
<br/>
<br/>
<br/>
<br/>

</body>
</html>